package com.wx.chapter10.final_;

/**
 * ClassName:Final01
 * Package :com.wx.chapter10.final_
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/6/7 - 14:57
 */
public class Final01 {
    public static void main(String[] args) {
        E e = new E();
//        e.NUM = 1;
        System.out.println(e.NUM);
    }
}

class A {

}

class B extends A {

}

class C {
    public void hi() {
    }
}

class D extends C {
    @Override
    public void hi() {
        System.out.println("重写了 C 类的 hi 方法..");
    }
}

class E {
    public final double NUM = 0.08;
}